home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5770 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  893 b 

  1. Path: newsfeed.ed.ac.uk!news
  2. From: Steven <steven@srv1.jig.ed.ac.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP: Strange DLL linker warning!
  5. Date: 6 Feb 1996 16:22:32 GMT
  6. Organization: JIIG-CAL
  7. Message-ID: <4f7v88$k40@scotsman.ed.ac.uk>
  8. NNTP-Posting-Host: usr2.jig.ed.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  13.  
  14. hi,
  15.  
  16. I have a DLL and I want to export the functions within it. So in the DLL definition 
  17. file (*.def) at the EXPORT section I have entered the names of the functions I want 
  18. to export. But low and behold I get the following warning:
  19.  
  20. Linker Warning: Attempt to export non-public symbol 'function name'
  21.  
  22. Why? I don't know how to declare these functions as public and I have explicitly 
  23. defined them as _export . Can anyone help. By the way I'm using the 3.1 compiler.
  24. Cheers!
  25.  
  26. Steve 
  27.  
  28.